﻿using DouCat.Blog.Application;
using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.Identity;
using Volo.Abp.Modularity;

namespace DouCat.Blog.HttpApi
{
    [DependsOn(
        typeof(AbpIdentityHttpApiModule),
        typeof(DouCatBlogApplicationModule)
        )]
    public class DouCatBlogHttpApiModule : AbpModule
    {
        public override void PreConfigureServices(ServiceConfigurationContext context)
        {
            context.Services.OnRegistred(TestInterceptorRegistrar.RegisterIfNeeded);
        }
    }
}
